
<div class="mainPage">
    <div class="pageContent">
        <div class="header">
            <?php include 'home_header.php';?>
        </div>
        <div class="mid-content">
            <div class="left-menu">
                <?php include 'home_menu.php';?>
            </div>
            <div class="right-w-100">
                <div class="support-online">
                    <div class="support-list">
                        <ul>
                            <li>Điện thoại: (043)111.222</li>
                            <li>Hotline: <span style="color: #028fc4">0974.177.422</span></li>
                            <li>Email: indtx@gmail.com</li>
                            <li class="onile-icon"><img src="<?php echo $sub_domain; ?>/images/style/yahoo.png"><img src="<?php echo $sub_domain; ?>/images/style/skype_icon.png"></li>
                        </ul>
                    </div>
                    <div class="clear"></div>
                </div>

                <div class="slier-content">
                    <?php include 'home_slider.php';?>
                    <div class="clear"></div>
                </div>


            </div>
            <div class="clear"></div>
        </div>
        <div class="center-content">
            <div class="left-w-78">
                <div class="product-header">
                    Sản phẩm tiêu biểu
                </div>
                <div class="product-list">
                    <?php $i = 1;
                    foreach ($aryTopProduct as $key => $value) { ?>
                        <div class="item">
                            <div class="box">
                                <div class="box-item">
                                    <img src="<?php echo $sub_domain; ?>/images/upload/thumbnail/<?php echo $value['product_main_image']; ?>">
                                    <div class="product-name">
<?php echo $value['product_title']; ?>
                                </div>
                            </div>
                        </div>
                    </div>
<?php if ($i % 4 == 0) { ?>
                            <div class="clear"></div>
                    <?php } ?>
<?php $i++;
                    } ?>
                </div>
            </div>
            <div class="right-w-22">
                <div class="new-product">
                    <div class="right-item">
                        <div class="right-title">
                            Sản phẩm mới
                        </div>
<?php foreach ($aryRightProduct as $key => $value) { ?>
                        <div class="right-item-detail">
                            <img src="<?php echo $sub_domain; ?>/images/upload/thumbnail/<?php echo $value['product_main_image']; ?>">
                            <div class="right-item-name">
<?php echo $value['product_title']; ?>
                            </div>
                        </div>
<?php } ?>
                        </div>
                        <div class="fb-fanpage">
                            <div id="fb-root"></div>
                            <script>(function(d, s, id) {
                                var js, fjs = d.getElementsByTagName(s)[0];
                                if (d.getElementById(id))
                                    return;
                                js = d.createElement(s);
                                js.id = id;
                                js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.0";
                                fjs.parentNode.insertBefore(js, fjs);
                            }(document, 'script', 'facebook-jssdk'));</script>
                            <div class="fb-like-box" data-href="https://www.facebook.com/inbongsenviet" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
                        </div>
                    </div>

                </div>
                <div class="clear"></div>
            </div>
            <div class="footer">
                <?php include 'home_footer.php';?>
            </div>
    </div>
</div>
